# -*- mode: snippet -*-
# name: code highlight via pygmented
# key: code.highlight.pygmented.block
# key: pygmented.code.block.highlight
# --
% \usepackage{fontspec}
% \setmonofont{FiraCode-Regular.ttf}[Contextuals=Alternate]
% \usepackage{pygmentex}
% \noindent\small
\begin{pygmented}[lang=${1:lang}]
$0
\end{pygmented}

% Local Variables:
% TeX-command-extra-options: "-shell-escape"
% End:
